<form id="pagerForm" action="jms/demand_screen/lookupDemand">
	<input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
	<input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" method="post" action="jms/demand_screen/lookupDemand" onsubmit="return dwzSearch(this, 'dialog');">
		<div class="searchBar">
			<ul class="searchContent">
				<li>

					<label>区县：</label>
					<select name="homeCounty">
						<option value="">请选择</option>
						<#list homeCountyList as s>
							<option value="${(s.name)!}" <#if (homeCounty)?? && homeCounty==s.name>selected="selected"</#if>>${(s.name)!}</option>
						</#list>
					</select>
				</li>
				<li>
					<label>项目名称:</label>
					<input class="textInput" name="name" value="${(name)!}" type="text">
				</li>

			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="button" multLookup="orgId" warn="请选择需求">选择带回</button></div></div></li>

				</ul>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>

		<tr>
			<th width="30"><input type="checkbox" class="checkboxCtrl" group="orgId" /></th>
			<th orderfield="homeCounty">区县</th>
			<th orderfield="name">项目名称</th>
			<th orderfield="addr">地址</th>
		</tr>
		</thead>
		<tbody>
		<#list pager.list as m>
			<tr>
				<td><input type="checkbox" name="orgId" value="{did:'${(m.did)!}',homeCounty:'${(m.homeCounty)!}', name:'${(m.name)!}'}"/></td>
				<td>${(m.homeCounty)!}</td>
				<td>${(m.name)!}</td>
				<td>${(m.addr)!}</td>
			</tr>
		</#list>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">

			<span>共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
	</div>
</div>